package com.uoss.applications.modules.foundation.entities;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the TC_APP database table.
 * 
 */
@Entity
@Table(name="TC_APP")
public class TcApp extends org.uoss.applications.framework.entity.GeneralObject implements Serializable {
	private static final long serialVersionUID = 1L;
	private String appCode;
	private String appDesc;
	private String appName;
	private String auditId;
	private Date recDate;
	private String status;

    public TcApp() {
    }


	@Id
	@Column(name="APP_CODE", unique=true, nullable=false, length=32)
	public String getAppCode() {
		return this.appCode;
	}

	public void setAppCode(String appCode) {
		this.appCode = appCode;
	}


	@Column(name="APP_DESC", length=256)
	public String getAppDesc() {
		return this.appDesc;
	}

	public void setAppDesc(String appDesc) {
		this.appDesc = appDesc;
	}


	@Column(name="APP_NAME", length=256)
	public String getAppName() {
		return this.appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}


	@Column(name="AUDIT_ID", length=64)
	public String getAuditId() {
		return this.auditId;
	}

	public void setAuditId(String auditId) {
		this.auditId = auditId;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="REC_DATE")
	public Date getRecDate() {
		return this.recDate;
	}

	public void setRecDate(Date recDate) {
		this.recDate = recDate;
	}


	@Column(length=1)
	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}